<?php

require_once("../config/Database.php");
require_once("../core/ConsoleLogUtil.php");

ConsoleLogUtil::debug("asdsadasd");

$database = new Database();
$conn = $database->getConnection();

$data = json_decode(file_get_contents('php://input'));
$name = $data->{'name'};
$hp = $data->{'hp'};

//ConsoleLogUtil::debug($name);
//ConsoleLogUtil::debug($hp);

$database->close();
